#export ARCH=arm
#export CROSS_COMPILE=arm-linux-gnueabihf-
obj-m +=ws2811.o #obj-m的作用是编译成模块
KDIR:=/home/cling/imx6ull/imx_kernel#内核的绝对路径
PWD?=$(shell pwd)

all:
	make -C $(KDIR) M=$(PWD) modules
clean:
	make -C $(KDIR) M=$(PWD) clean